Script won't run this way. It's precalled in mike_torso and in dmprecache too.
code didn't look right so i tried this; somehow it loads but says failed due to object player. :| What am i doing wrong?Code:main local.kneel: if(self == NULL || self == NIL) end self.iscrouching = local.kneel if(self.iscrouching != "1") end if(self.startCrouchLoop == 1) end self.startCrouchLoop = 1 thread crouchLoop self end crouchLoop local.player: while(1) { if(local.player == NULL || local.player == NIL) end //1 health-point gets added every 0.3 second if(local.player.iscrouching == "1" && isAlive local.player) local.player heal 0.05 wait 0.3 } end
Code:main: end local.kneel: if(self == NULL || self == NIL) end self.iscrouching = local.kneel if(self.iscrouching != "1") end if(self.startCrouchLoop == 1) end self.startCrouchLoop = 1 thread crouchLoop self end crouchLoop local.player: while(1) { if(local.player == NULL || local.player == NIL) end //1 health-point gets added every 0.3 second if(local.player.iscrouching == "1" && isAlive local.player) local.player heal 0.05 wait 0.3 } end


Reply With Quote


